Skip to content

Fix f110_car URDF mesh paths: replace hard-coded absolute path with p… - #2

Open
aysenurcelik-swe wants to merge 2 commits into
isselab:mainfrom
aysenurcelik-swe:main
Open

Fix f110_car URDF mesh paths: replace hard-coded absolute path with p…#2
aysenurcelik-swe wants to merge 2 commits into
isselab:mainfrom
aysenurcelik-swe:main

Conversation

@aysenurcelik-swe

Copy link
Copy Markdown

This PR fixes the mesh paths in the f110_car URDF.

The mesh files were referenced with a hard-coded absolute path pointing to another user's home directory (file:///home/dhanush/...). This made the car invisible in Gazebo on any other machine, because that path does not exist there.

I replaced these paths with portable package://roboracer_gazebo/... references, which resolve correctly on any machine after the workspace is built.

Tested on Ubuntu 22.04 with ROS 2 Humble: after this change, the car model loads and is visible in Gazebo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant